package com.tkmybatis.controller;


import com.tkmybatis.entity.ECTCNStudent;
import com.tkmybatis.hfy.base.entity.Result;
import com.tkmybatis.service.ECTCNStudentService;
import net.bytebuddy.asm.Advice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/student")
public class EctCnStudentController {


    @Autowired
    private ECTCNStudentService ectcnStudentService;



    @PostMapping("/insert")
    public Result insert(ECTCNStudent student){
        return ectcnStudentService.addECTCNStudent(student);
    }


}
